package com.sskj.base.api;

import java.io.IOException;

class ServiceException extends IOException {

    private HttpResponse response;
    private String msg;
    private String result;

    public ServiceException(String result) {
        this.result = result;
    }

    public ServiceException(HttpResponse httpResult, String msg) {
        this.response = httpResult;
        this.msg = msg;
    }


    public HttpResponse getResponse() {
        return response;
    }

    public void setResponse(HttpResponse response) {
        this.response = response;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getResult() {
        return result;
    }
}
